using System;
using System.Collections.Generic;
using System.Text;

namespace ContentRenderingApi.Exceptions
{
    /// <summary/>
    public class TemplateDoesNotExistException : Exception
    {
        private string _name;

        /// <summary/>
        internal TemplateDoesNotExistException(string name)
        {
            this._name = name;
        }

        /// <summary/>
        public override string Message
        {
            get { return string.Format(Constant.EXCEPTION_TEMPLATE_DOES_NOT_EXIST, this._name); }
        }
    }
}
